/*
<<<<<<< HEAD
 * @Author: 许旺玉
 * @Description: 路由的所有路径
 * @Date: 2020-06-22 15:04:57
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
 * @LastEditTime: 2020-07-08 10:21:15
=======
 * @LastEditTime: 2020-07-02 23:33:19
>>>>>>> ad915f81d0e130388e08b237c11736e780e239df
=======
 * @LastEditTime: 2020-07-03 14:53:44
=======
 * @LastEditTime: 2020-07-03 17:18:15
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-02 23:33:19
>>>>>>> 30231ae9e9e65e9aee13d3748d9549931b3a20a6
>>>>>>> e38f090f6f81d62d59ee5c848b3b7e63b55b9edd
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-02 15:49:07
>>>>>>> ed977d2bc66be2c0df921aca2a7fe8d72e12f3d9
=======
 * @LastEditTime: 2020-07-02 13:15:02
>>>>>>> 24dd645bb9cbd62cda656d6dc79fc9fdd04dbed9
>>>>>>> e4a6ab53a7784521de9a28ee63b2aef2478a5413
=======
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
 * @LastEditTime: 2020-07-02 16:34:01
=======
<<<<<<< HEAD
<<<<<<< HEAD
 * @LastEditTime: 2020-07-01 16:54:01
=======
 * @LastEditTime: 2020-07-01 16:33:41
>>>>>>> b5fa0090977597b5b3a29b6c4a2b5f7bbcc9a802
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-01 16:32:32
>>>>>>> 7763ce5ed1d1c54086048b12460fe4170b850bfe
>>>>>>> e78728c472055bfb6a7e85c99107f74b500710b5
=======
 * @LastEditTime: 2020-07-01 15:09:37
>>>>>>> 1e6bdf55fd3f749f044ca11d585cd50610f07112
=======
 * @LastEditTime: 2020-07-01 15:49:33
>>>>>>> 73903f664b39bfec518183a850b4b4daa5ce24ba
>>>>>>> 8d3ae1008fa11210678d06190ce940a8c99e05e3
=======
 * @LastEditTime: 2020-07-01 11:11:28
>>>>>>> c0c14fbfbec1646b565bbb7ab2c058c792a73df0
>>>>>>> 7763ce5ed1d1c54086048b12460fe4170b850bfe
 * @LastEditTime: 2020-06-29 10:50:33
=======
 * @LastEditTime: 2020-06-30 17:26:32
>>>>>>> e1657fa76be90be722fdddd3d59403e124a4f9d2
=======
 * @Author: your name
 * @Date: 2020-06-23 18:57:25
 * @LastEditTime: 2020-06-29 20:59:45
>>>>>>> d91b52fb691412ae7ba1c1f2c2d9ecf9550074c7
=======
 * @LastEditTime: 2020-07-01 09:48:08
>>>>>>> d04d54abfb6d6b0d692a62601f4e46336f16cc64
 * @LastEditors: Please set LastEditors
 * @Description: In user Settings Edit
 * @FilePath: \靖凯商城\mobile_project\src\router\routes.js
 */

let routes = [{
    name: "home", //首页
    path: "/home",
    alias: "/",
    component: () => import("@/pages/home/home"),
}, {
    path: "/searchPage",//搜索页面
    name: "searchPage",
    component: () => import("@/pages/home/components/searchPage/searchPage.vue")
}, {
    path: "/searchResult",//搜索结果
    name: "searchResult",
    component: () => import("@/pages/home/components/searchPage/searchResult.vue")
}, {
    path: "/notfound",//页面丢失页面
    name: "notfound",
    component: () => import("@/pages/home/components/searchPage/notfound.vue")
}, {
    path: "/goodsDetails",//商品详情页
    name: "goodsDetails",
    component: () => import("@/pages/home/components/goodsDetails/goodsDetails.vue"),
    props: (route) => {
        return { id: route.query.id }
    }
}, {
    name: "classification",  //分类
    path: "/classification",
    component: () => import("@/pages/classification/classification")
}, {
    name: "shoppingcart", //购物车
    path: "/shoppingcart",
    component: () => import("@/pages/shoppingcart/shoppingcart")
},
{
    name: "order", //购物车直邮订单
    path: "/order",
    component: () => import("@/pages/payment/order/order")
}, {
    name: "address", //购物车修改地址
    path: "/address",
    component: () => import("@/pages/payment/order/components/mes/address/address")
}, {
    name: "orderpay",  //购物车订单支付
    path: "/orderpay",
    component: () => import("@/pages/payment/order/components/orderpay/orderpay"),
    props(route) {
        return {
            id: route.query.id
        }
    }
}, {
    name: "fail",  //支付失败
    path: "/fail",
    component: () => import("@/pages/payment/pay/fail/fail")
}, {
    name: "success", //支付成功
    path: "/success",
    component: () => import("@/pages/payment/pay/success/success")
},
{
    name: "my", //个人中心
    path: "/my",
    component: () => import("@/pages/my/my")
}, {
    name: "sign",//个人中心-登录界面
    path: "/sign",
    component: () => import("@/pages/my/components/sign")
}, {
    name: "register",//个人中心-注册界面
    path: "/register",
    component: () => import("@/pages/my/components/register")
},
{     //退货流程
    path: "/returnApply",     //申请退款
    name: "returnApply",
    component: () => import("@/pages/return/returnApply"),

},
{
    path: "/return",
    name: "return",
    component: () => import("@/pages/return/returnApply"),         //退货流程

},
{
    path: "/returnReason",
    name: "returnReason",
    component: () => import("@/pages/return/returnReason"),         //退货流程

},
{
    path: "/returnSuccess",
    name: "returnSuccess",
    component: () => import("@/pages/return/returnSuccess"),         //退货流程


},
{
    path: "/returnLogistics",      //填写退货物流
    name: "returnLogistics",
    component: () => import("@/pages/return/returnLogistics"),

},
{
    path: "/returned",       //退货审核,可跳转查看退货物流信息
    name: "returned",
    component: () => import("@/pages/return/returned"),

},
{
    path: "/returnDetail",     //退货中物流信息
    name: "returnDetail",
    component: () => import("@/pages/return/returnDetail"),

},
{
    path: "/refundSuccess",     //退款成功，退货评价页面
    name: "refundSuccess",
    component: () => import("@/pages/return/refundSuccess"),

},
{
    path: "/refundPingjia",     //退款成功，退货评价页面
    name: "refundPingjia",
    component: () => import("@/pages/return/refundPingjia"),

},
{
    path: "/receipt",
    name: "receipt",
    component: () => import("@/pages/receipt/receipt")
},
{
    path: "/addAddress",//添加收件地址
    name: "addAddress",
    component: () => import("@/pages/receipt/components/addAddress")
},
{
    path: "/editAddress",//编辑收件地址
    name: "editAddress",
    component: () => import("@/pages/receipt/components/editAddress"),
    props: (route) => ({
        id: route.query.id
    })
}
    , {
    path: "/my/orders",    //订单列表
    name: "orders",
    component: () => import("@/pages/my/orders/ordersScreen/orders")
}, {
    path: "/my/orders/assess",    //评价
    name: "assess",
    component: () => import("@/pages/my/orders/assess")
}, {
    path: "/my/orders/assess/successpj",   //评价成功
    name: "successpj",
    component: () => import("@/pages/my/orders/successpj")
}, {
    path: "/my/orders/orderDetail",    //订单详情
    name: "orderDetail",
    component: () => import("@/pages/my/orders/orderDetail/orderDetail"),
    props(route) {
        return {
            id: route.query.id
        }
    }
}, {
    path: "/my/orders/orderDetail/logistical",   //物流信息
    name: "logistical",
    component: () => import("@/pages/my/orders/logistical")
}, {
    path: '/help',   //帮助中心
    name: 'help',
    component: () => import("@/pages/help//help")
}, {
    path: '/searchResults',   //搜索结果
    name: 'searchResults',
    component: () => import("@/pages/help/components/searchResult"),
    props: (route) => ({
        val: route.query.val
    })
}, {
    path: '/wechatAppletCode',   //公众号咨询
    name: 'wechatAppletCode',
    component: () => import("@/pages/help/components/wechatAppletCode")
}, {
    path: '/allQuestions',   //全部问题分类
    name: 'allQuestions',
    component: () => import("@/pages/help/components/allQuestions")
}, {
    path: '/classificationProblem',   //各分类问题
    name: 'classificationProblem',
    component: () => import("@/pages/help/components/classificationProblem"),
    props: (route) => ({
        id: route.query.id,
        name: route.query.name
    })
}, {
    path: '/questionDetails',   //问题详情
    name: 'questionDetails',
    component: () => import("@/pages/help/components/questionDetails"),
    props: (route) => ({
        id: route.query.id
    })
},
{
    name: "system",//个人中心-账号设置
    path: "/system",
    component: () => import("@/pages/my/components/system")
},
{
    name: "reset",//个人中心-重置密码
    path: "/reset",
    component: () => import("@/pages/my/components/reset")
},
{
    name: "name",//个人中心-修改昵称
    path: "/name",
    component: () => import("@/pages/my/components/name")
},
{
    name: "integral",//个人中心-我的积分
    path: "/integral",
    component: () => import("@/pages/my/components/integral")
},
{
    name: "vip",//个人中心-我的积分
    path: "/vip",
    component: () => import("@/pages/my/components/vip")
}, {
    name: "collection",//个人中心-我的收藏
    path: "/collection",
    component: () => import("@/pages/my/components/collection")
}, {
    name: "service",//个人中心-我的客服
    path: "/service",
    component: () => import("@/pages/my/components/service")
},
{
    name: "message", //消息中心
    path: "/message",
    component: () => import("@/pages/message/message")
},
{
    name: "detailed", //消息明细
    path: "/message/detailed",
    component: () => import("@/pages/message/detailed")
}]
export default routes